/** 
 * @file general.h 
 * @brief Header file with definitions of used in the finite automata programs.
 * @author Matt Stallmann 
 * @date mid-1990's
 */

/** maximum string length for an error message */
#define ERR_MSG_SIZE 1000 
/** boolean*/
typedef char boolean;
/** is a letter */
#define is_letter(c) ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'))
/** is a digit */
#define is_digit(c) (c >= '0' && c <= '9')

/** array for the error message */
extern char err_msg[ERR_MSG_SIZE];
/** print error message */
#define error(msg) (fprintf(stderr,"\n *** "),\
					fprintf(stderr,"%s",msg),     \
					fprintf(stderr," *** \n"))

/*  [Last modified: 2013 01 18 at 20:37:58 GMT] */
